package org.example.myerp.service;

import java.util.List;

import org.example.myerp.pojo.PageMyself;
import org.example.myerp.pojo.*;
/**
 * ��Ʒ��������Ϣ�� ������ҵ��㡿
 * @author DELL
 *
 */
public interface ProInformationService {
	/**
	 * ��Ӳ�Ʒ��������Ϣ��
	 * @return
	 */
	public Integer getInsertProInformationMessage(ProInformation proInformation, ProInfoAsset proInfoAsset);

	/**
	 * ��ѯȫ��δ���˵�ȫ����Ʒ��Ϣ����ҳ��ѯ��
	 * @return
	 */
	public PageMyself<ProInformation> getSelectAllProInformationByReviewSign(Integer page, Integer size);

	/**
	 * ��ѯȫ���Ѹ��˲��Ҳ�Ʒ����Ϊ��Ʒ��ȫ����Ʒ��Ϣ������ҳ��
	 * @return
	 */
	public PageMyself<ProInformation> getSelectAllProInformationByReviewSignAndyongType(Integer page, Integer size);

	/**
	 * ���ݲ�Ʒ��Ų�ѯ��Ʒ����Ϣ
	 * @param pId
	 * @return
	 */
	public ProInformation getSelectProInformationByPId(Integer pId);

	/**
	 * ��Ʒ�󸴺�ʱ�޸Ĳ�Ʒ��������Ϣ��
	 * @param proInformation
	 * @return
	 */
	public Integer getUpdateProInformationByProInformationAll(ProInformation proInformation);

	/**
	 * ��ѯ��Ʒ����Ϊ���ϵ�ȫ����Ϣ
	 * @return
	 */
	public PageMyself<ProInformation> getSelectProductTypeByMaterials(Integer page, Integer size);

	/**
	 * ��Ʒ���ϼ۸����
	 * @param proInformation
	 * @return
	 */
	public Integer getUpdateProInformation(ProInformation proInformation);

	/**
	 * ��ѯ��Ʒ����δ�۸����
	 * @return
	 */
	public List<ProInformation> getSelectMaterialGoodsUnreviewed();

	/**
	 *  �޸Ĳ�Ʒ��Ϣ��ļ۸����Ϊ�ѵ���
	 * @param pId
	 * @return
	 */
	public Integer updateChangedPrice(Integer pId);
}
